package com.ruoyi.system.domain.zhuangxiumain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.*;

import java.util.Date;

/**
 * Created by 惠普 on 2021/1/11 15:57
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ShoppingCartVo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    //购物车的id
    private Integer orderShoppingCartId;
    //用户的id
    private Integer customerId;
    //商品的id
    private Integer productId;
    //商品规格的id
    private Integer productLabelId;
    //商品购买的数量
    private Integer productNumber;
    //购物车添加的时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date addTime;
    //购物车修改的时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    //商品的名字
    private String productName;
    //商品的描述
    private String descript;
    //商品的规格
    private String labelName;
    //商品规格 单位
    private String labelUnit;
    //商品规格 价格
    private Double labelPrice;
    //商品规格 颜色
    private String labelColorType;
    //商品规格 运费
    private Double labelFreight;
    //商家的id
    private Integer supplierId;
    //商家的名字
    private String shopsName;
    //商品的图片
    private String picUrl;

}
